package com.ruoyi.system.model;

import com.ruoyi.common.utils.StringUtils;
import com.ruoyi.system.BaseModel;

import javax.validation.constraints.NotNull;
import java.sql.Timestamp;

/**
 * @author Dale Mao    ---多多 Email:453918229@qq.com
 * @description FindSqlModel
 * @date 2021-01-26 11:59
 */
public class FindSqlModel extends BaseModel {

    @NotNull(message ="页码数必填")
    private int page; //要查询的页面

    private String find; //要搜索的内容

    private String otherFind; //获取其他的搜索内容

    @NotNull(message = "当前页面获取数据条数必填")
    private Integer size; //一页可获取多少数据

    private Long whatId; //可以匹配任何的ID

    private Long checked;

    private Long otherId;

    private Long thirdId;

    private Long proccess;

    private Integer type; //增加搜索种类

    private Integer otherType; //增加可能有的type

    private Timestamp startTime;

    private  Timestamp endTime;

    private Timestamp currentTime;


    @Override
    public String toString() {
        return "FindSqlModel{" +
                "page=" + page +
                ", find='" + find + '\'' +
                ", otherFind='" + otherFind + '\'' +
                ", size=" + size +
                ", whatId=" + whatId +
                ", checked=" + checked +
                ", otherId=" + otherId +
                ", thirdId=" + thirdId +
                ", proccess=" + proccess +
                ", type=" + type +
                ", otherType=" + otherType +
                ", startTime=" + startTime +
                ", endTime=" + endTime +
                ", currentTime=" + currentTime +
                '}';
    }

    public String getOtherFind() {
        return otherFind;
    }

    public void setOtherFind(String otherFind) {
        this.otherFind = otherFind;
    }

    public Long getProccess() {
        return proccess;
    }

    public void setProccess(Long proccess) {
        this.proccess = proccess;
    }

    public Long getChecked() {
        return checked;
    }

    public void setChecked(Long checked) {
        this.checked = checked;
    }

    public Long getThirdId() {
        return thirdId;
    }

    public void setThirdId(Long thirdId) {
        this.thirdId = thirdId;
    }

    public Long getOtherId() {
        return otherId;
    }

    public void setOtherId(Long otherId) {
        this.otherId = otherId;
    }

    public int getPage() {

        return page;
    }

    public void setPage(int page) {



        this.page = page;
    }

    public String getFind() {
        return find;
    }

    public void setFind(String find) {
        this.find = find;
    }

    public Integer getSize() {
        return size;
    }

    public void setSize(Integer size) {


        this.size = size;
    }

    public Long getWhatId() {
        return whatId;
    }

    public void setWhatId(Long whatId) {
        this.whatId = whatId;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public Integer getOtherType() {
        return otherType;
    }

    public void setOtherType(Integer otherType) {
        this.otherType = otherType;
    }

    public Timestamp getStartTime() {
        return startTime;
    }

    public void setStartTime(Timestamp startTime) {
        this.startTime = startTime;
    }

    public Timestamp getEndTime() {
        return endTime;
    }

    public void setEndTime(Timestamp endTime) {
        this.endTime = endTime;
    }

    public Timestamp getCurrentTime() {
        return currentTime;
    }

    public void setCurrentTime(Timestamp currentTime) {
        this.currentTime = currentTime;
    }
}
